#!/bin/csh

set inputdir = $1
set outputdir = $2

Rscript ./src/R/aggregate.R $inputdir/byte_count.stat $outputdir/bytecount.png bytes count
Rscript ./src/R/aggregate.R $inputdir/byte_prop.stat $outputdir/byteprop.png bytes prop
Rscript ./src/R/aggregate.R $inputdir/edit_count.stat $outputdir/editcount.png edits count
Rscript ./src/R/aggregate.R $inputdir/edit_prop.stat $outputdir/editprop.png edits prop
Rscript ./src/R/aggregate.R $inputdir/hour_count.stat $outputdir/hourscount.png hours count
Rscript ./src/R/aggregate.R $inputdir/hour_prop.stat $outputdir/hoursprop.png hours prop
